package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.dto.OrdersDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhengbinghua
 * @since 2023-03-02
 */
public interface OrdersService extends IService<Orders> {

    void submit(Orders orders);

    Page<OrdersDto> userpage(Integer page, Integer pageSize);
}
